﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_SystemPara : System.Web.UI.Page
{
    public string readerCount,booksCount,adminCount,AmeCount,LendingCount;

    protected void Page_Load(object sender, EventArgs e)
    {
        SQL sql = new SQL();
        readerCount = sql.EXQSQL("select count(*) from Reader_info");
        booksCount = sql.EXQSQL("select count(*) from book_info");
        adminCount = sql.EXQSQL("select count(*) from Admin_info");
        AmeCount = sql.EXQSQLgetFloat("select sum(cast(Amerce  as float)) from Amerce");
        LendingCount = sql.EXQSQL("select count(*) from Borrow_books_manage");
       
    }
}